package com.hd.shiro2204.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hd.shiro2204.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserDao extends BaseMapper<User> {
    List<User> getUsers(@Param("name") String roleName);
    List<User> getUsersByPerms(@Param("name")String permsName);
}
